package com.ruoyi.crm.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 收款计划对象 plan_collection
 *
 * @author ruoyi
 * @date 2021-09-01
 */
public class PlanCollection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 收款计划编号 */
    @Excel(name = "收款计划编号")
    private String collectionNo;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 期次 */
    @Excel(name = "期次")
    private Long period;

    /** 计划收款日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划收款日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date collectionDate;

    /** 金额 */
    @Excel(name = "金额")
    private String collectionAc;

    /** 已收金额 */
    @Excel(name = "已收金额")
    private String collectionAcy;

    /** 应收金额 */
    @Excel(name = "应收金额")
    private String collectionAcs;

    /** 负责人 */
    @Excel(name = "负责人")
    private String follower;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCollectionNo(String collectionNo)
    {
        this.collectionNo = collectionNo;
    }

    public String getCollectionNo()
    {
        return collectionNo;
    }
    public void setCustomerName(String customerName)
    {
        this.customerName = customerName;
    }

    public String getCustomerName()
    {
        return customerName;
    }
    public void setPeriod(Long period)
    {
        this.period = period;
    }

    public Long getPeriod()
    {
        return period;
    }
    public void setCollectionDate(Date collectionDate)
    {
        this.collectionDate = collectionDate;
    }

    public Date getCollectionDate()
    {
        return collectionDate;
    }
    public void setCollectionAc(String collectionAc)
    {
        this.collectionAc = collectionAc;
    }

    public String getCollectionAc()
    {
        return collectionAc;
    }
    public void setCollectionAcy(String collectionAcy)
    {
        this.collectionAcy = collectionAcy;
    }

    public String getCollectionAcy()
    {
        return collectionAcy;
    }
    public void setCollectionAcs(String collectionAcs)
    {
        this.collectionAcs = collectionAcs;
    }

    public String getCollectionAcs()
    {
        return collectionAcs;
    }
    public void setFollower(String follower)
    {
        this.follower = follower;
    }

    public String getFollower()
    {
        return follower;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("collectionNo", getCollectionNo())
                .append("customerName", getCustomerName())
                .append("period", getPeriod())
                .append("collectionDate", getCollectionDate())
                .append("collectionAc", getCollectionAc())
                .append("collectionAcy", getCollectionAcy())
                .append("collectionAcs", getCollectionAcs())
                .append("follower", getFollower())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}